package com.ruoyi.entity.po;
import lombok.Data;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.ruoyi.common.config.serializer.JsonSerializers;
import com.ruoyi.common.core.domain.BaseEntity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 选手视觉投票实体
 */
@Data
@ApiModel(description="选手视觉投票")
public class TVisionVote extends BaseEntity{

    /**
     * 主键id
     */
    @ApiModelProperty(value = "主键id")
    private Integer id;

    /**
     * 选手id
     */
    @ApiModelProperty(value = "选手id")
    private Integer playerId;

    /**
     * 选手名
     */
    @ApiModelProperty(value = "选手名")
    private String playerName;

    /**
     * 投票图片json数组
     */
    @ApiModelProperty(value = "投票图片")
//    @JsonSerialize(using = JsonSerializers.StringToArraySerialize.class)
//    @JsonDeserialize(using = JsonSerializers.ArrayToStringDeSerialize.class)
    private String vateImages;

}

